package com.cqupt.sendMes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 订阅实体类
 *
 * @author dell*/
@Data
@TableName("band_task")
@Builder
public class BandTask {
    @TableId(type = IdType.AUTO)
    private Integer id;

    //任务id
    private Integer taskId;

    //任务名
    private  String taskName;

    //用户ID
    private Integer userId;

    //用户名
    private String username;

    //状态
    private Integer status;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
